package com.itheima.method.method2;

public class Demo1Method {
    public static void main(String[] args) {
        int num = 20;
        isEvenNumber(num);
    }

    public static void isEvenNumber(int num) {
        if(num % 2 == 0){
            System.out.println("偶数");
        }else{
            System.out.println("奇数");
        }
    }
}
